package ios.di.logviewer.ui;

import javax.swing.JFrame;
import javax.swing.JOptionPane;
/**
 * 出错信息对话框
 * @author LuoHouQi
 *
 */
public class ErrorMessage {
	private JFrame frame;
	private String message;
	private String title;
	private JOptionPane pane;
	public ErrorMessage(JFrame frame, String message, String title) {
		super();
		this.frame = frame;
		this.message = message;
		this.title = title;
		
	}
	
	public void show()
	{
		JOptionPane.showMessageDialog(this.frame, this.message,this.title,JOptionPane.ERROR_MESSAGE);
	}
}
